package com.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class UserController {


    @RequestMapping("/getMap")
    public Map<String,String> getMap(){
        Map<String,String> map = new HashMap<>(16);
        map.put("客户端","客户端1");
//        throw new RuntimeException();
        return map;
    }
}
